package com.io.model;

/**
 * Created by yangyx on 2016/7/20.
 */
public class CustomeMsg {
    //类型 系统编号
    private  byte type;
    //信息标志
    private byte flag;
    //信息长度
    private int length;
    //信息主体
    private String  body;

    public CustomeMsg(){

    }

    public CustomeMsg(byte type, byte flag, int length, String body){
        this.type = type;
        this.flag = flag;
        this.length = length;
        this.body = body;
    }

    public byte getType() {
        return type;
    }

    public void setType(byte type) {
        this.type = type;
    }

    public byte getFlag() {
        return flag;
    }

    public void setFlag(byte flag) {
        this.flag = flag;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
